﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 店铺;店铺的数据,有Filter的
    /// </summary>
    [ExLanguageKey("SysStore")]
    public partial class SysStoreExSelect
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        [ExLanguageKey("SysStoreID")]
        [Key]
        public int SysStoreID { get; set; }

        /// <summary>
        /// 父级店铺ID
        /// </summary>
        [ExLanguageKey("ParentID")]
        public int? ParentID { get; set; }

        /// <summary>
        /// 店铺类型;主门店=0,子门店=1,外部加盟门店=2;
        ///    主门店能看到所有子门店的数据,子门店只能看自己的,连锁也是
        /// </summary>
        [ExLanguageKey("EnumSysStoreType")]
        public EnumSysStoreType EnumSysStoreType { get; set; }

        /// <summary>
        /// 最大子店铺数量
        /// </summary>
        [ExLanguageKey("MaxStoreCount")]
        public int MaxStoreCount { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        [ExLanguageKey("SysStoreName")]
        public string SysStoreName { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        [ExLanguageKey("PY")]
        public string PY { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [ExLanguageKey("Director")]
        public string Director { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [ExLanguageKey("PhoneNumber")]
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        [ExLanguageKey("Province")]
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [ExLanguageKey("City")]
        public string City { get; set; }

        /// <summary>
        /// 区
        /// </summary>
        [ExLanguageKey("District")]
        public string District { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [ExLanguageKey("Address")]
        public string Address { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        [ExLanguageKey("Longitude")]
        public decimal? Longitude { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        [ExLanguageKey("Latitude")]
        public decimal? Latitude { get; set; }

        /// <summary>
        /// 状态;禁用=0,启用=1
        /// </summary>
        [ExLanguageKey("EnumStatus")]
        public EnumStatus EnumStatus { get; set; }

        /// <summary>
        /// 创建员工ID
        /// </summary>
        [ExLanguageKey("CreateSysEmployeeID")]
        public int? CreateSysEmployeeID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExLanguageKey("CreateDate")]
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExLanguageKey("Remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 图文详情
        /// </summary>
        [ExLanguageKey("TheContent")]
        public string TheContent { get; set; }
    }
}
